<template>
  <div class="h-100">
    <!-- 1111 -->
    <my-header />
    <div v-if="isMain" />
    <!-- <router-view v-else class="h87" /> -->
    <enterprise-management></enterprise-management>
  </div>
</template>

<script>
import MyHeader from '@/views/component/MyHeader2.vue'
import enterpriseManagement from './enterprise-management'

export default {
  name: 'EnterpriseManagement',
  components: {
    MyHeader,
    enterpriseManagement
  },
  data() {
    return {

    }
  },
  computed: {
    isMain() {
      return this.$route.name === 'enterprise-management'
    }
  },
  mounted() {

  },
  methods: {

  }
}
</script>
<style lang='scss' scoped>
.h87{
  margin-top: 2vh;
  height: 87vh;
  padding: 0 1%;
  box-sizing: border-box;
}
</style>
